package com.atguigu.yygh.hosp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * ClassName: ServiceHospApplication
 * Package: com.atguigu.yygh
 *
 * @Date: 2021/7/14 14:36
 * @author: 浪漫
 * @Description:
 */
@SpringBootApplication
@EnableSwagger2
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.atguigu.yygh")
@EnableFeignClients(basePackages = "com.atguigu.yygh")
public class ServiceHospApplication {
    public static void main(String[] args) {
          SpringApplication.run(ServiceHospApplication.class, args);
     }
}
